﻿using MQ.Core.Common;
using MQ.Core.Entity;
using MQ.Core.Model;
using System;
using System.Collections.Generic;

namespace MQ.Core.IService
{
    public interface IDictionaryTypeService
    {
        #region 查询数据
        IEnumerable<DictionaryTypeEntity> GetList(string query);
        IEnumerable<DictionaryTypeEntity> GetPageList(Pagination pagination,string query);
        IEnumerable<DictionaryTreeModel> GetTree(string query);
        #endregion 

        #region 提交数据
        bool Save(DictionaryTypeEntity entity);
        bool Delete(long id);
        bool Delete(string ids);
        bool Delete(DictionaryTypeEntity entity);
        #endregion 
    }
}
